<?php /* Smarty version 2.6.26, created on 2010-11-16 19:55:15
         compiled from register.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php if (isset ( $this->_tpl_vars['info_action'] )): ?>
	<div class="info i_<?php echo $this->_tpl_vars['info_color']; ?>
">
		<?php echo $this->_tpl_vars['info_action']; ?>

	</div>
<?php endif; ?>
<h3><?php echo $this->_tpl_vars['title']; ?>
</h3>
	<form method="post" action="register.php" class="form" id="register" name="register">
		<fieldset>
			<legend>Formularz rejestracyjny</legend>
				<p>
					<label for="choose" >Kim jesteś?</label><br/>
					<input type="radio" name="choose" id="company_radio"  value = "company">Firma<br/>
					<input type="radio" name="choose" id="student_radio"  checked = "checked" value = "student">Student<br/>
				</p>
				<p>
					<label for="email" >Email</label>
					<input type="text" name="email" id="email" title="Email"/>
					<span id="status_email" style="margin-left: 20px;"></span>
				</p>
				
				<p>
					<label for="password" >Hasło</label>
					<input type="password" name="password" id="password"  title="Hasło"/>
				</p>
			
				<div id="company_block" style="display:none">
					<h2>Dane firmy</h2>
					<p>
						<label for="c_name" >Nazwa firmy</label>
						<input type="text" id="c_name" name="c_name" title="Nazwa"/>
					</p>
					
					<p>
						<label for="c_address" >Adres</label>
						<input type="text" id="c_address" name="c_address" title="Adres"/>
					</p>
					
					<p>
						<label for="c_phone" >Telefon</label>
						<input type="text" id="c_phone" name="c_phone" />
					</p>
					
					<p>
						<label for="c_site" >Strona www</label>
						<input type="text" id="c_site" name="c_site"  />
					</p>
					<h2>Dane osoby reprezentującej firmę</h2>
					<p>
						<label for="c_person_name" >Imię</label>
						<input type="text" id="c_person_name" name="c_person_name" title="Imię" />
					</p>
					
					<p>
						<label for="c_person_surname" >Nazwisko</label>
						<input type="text" id="c_person_surname" name="c_person_surname" title="Nazwisko"/>
					</p>
					
					<p>
						<label for="c_person_position" >Stanowisko</label>
						<input type="text" id="c_person_position" name="c_person_position"  title="Stanowisko"/>
					</p>
					
					<p>
						<label for="c_person_email" >Email</label>
						<input type="text" id="c_person_email" name="c_person_email" title="Email" />
					</p>
					
					<p>
						<label for="c_person_phone" >Telefon</label>
						<input type="text" id="c_person_phone" name="c_person_phone" title="Telefon" />
					</p>			
				</div>
				
				<div id="student_block">
					<h2>Dane studenta</h2>
					<p>
						<label for="s_name" >Imię</label>
						<input type="text" id="s_name" name="s_name" title="Imię" />
					</p>
					
					<p>
						<label for="s_surname" >Nazwisko</label>
						<input type="text" id="s_surname" name="s_surname" title="Nazwisko" />
					</p>
					
					<p>
						<label for="s_album" >Nr. albumu</label>
						<input type="text" id="s_album" name="s_album" title="Nr.albumu" />
					</p>
					
					<p>
						<label for="s_faculty" >Wydział</label>
						<select id="s_faculty" name="s_faculty" class="select" title="Wydział">
							<option selected="selected" value="0">--Wybierz wydział--</option>
								<?php $_from = $this->_tpl_vars['faculties']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['faculty']):
?>
									<option value="<?php echo $this->_tpl_vars['faculty']['id']; ?>
"><?php echo $this->_tpl_vars['faculty']['name']; ?>
</option>
								<?php endforeach; endif; unset($_from); ?>
						</select>
					</p>
					
					<p>
						<label for="s_specialization" >Kierunek</label>
						<select id="s_specialization" name="s_specialization" class="select">
							<option selected="selected">--Wybierz kierunek--</option>					
						</select>
					</p>
				</div>
				<p class="submit"><button type="submit">Rejestruj</button></p>
		</fieldset>
	</form>		
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>